package com.worldcup.service;

import com.worldcup.model.PredictGroup;

import java.util.List;

/**
 * @author duwan.zq
 * @date 2018/05/26
 */
public interface PredictGroupService {

    /**
     * insert
     * @param predictGroup
     */
    void insert(PredictGroup predictGroup);

    /**
     * batch insert
     * @param groups
     */
    void batchInsert(List<PredictGroup> groups);

    /**
     *  get
     * @param openid
     * @return
     */
    List<PredictGroup> getPredictGroup(String openid);

    /**
     * delete
     * @param openid
     */
    void delete(String openid);
}
